Previous page Next page

Configuration File: ha.cf

The ha.cf file is the HeartBeat main configuration file consisting of a configuration parameters list. A sample follows:

bcast eth1
 
keepalive 2
 
warntime 10
 
deadtime 30
 
initdead 120
 
udpport 694
 
nice_failback on
 
node EY-FTP1         ##  This is your server 1 
 
node EY-FTP2         ##  This is your server 2
 
ping 192.168.38.1    ##  This is a pingable address
 

The “node” definitions allow HeartBeat to identify the two servers that form the High Availability cluster. The last entry is how HeartBeat confirms its network connectivity. If the “ping” fails to operate correctly, HeartBeat assumes that although it is functioning correctly, it has lost connectivity to the network. In this case, HeartBeat proceeds to interchange to the other node/server.


Previous page Next page